$(function() {
    $.growl({
        title: "消息标题",
        message: "消息内容!"
    });

    $('.error').click(function(event) {
        event.preventDefault();
        event.stopPropagation();
        return $.growl.error({
            title: "错误标题",
            message: "错误消息内容!"
        });
    });

    $('.notice').click(function(event) {
        event.preventDefault();
        event.stopPropagation();
        return $.growl.notice({
            title: "提醒标题",
            message: "提醒消息内容!"
        });
    });

    return $('.warning').click(function(event) {
        event.preventDefault();
        event.stopPropagation();
        return $.growl.warning({
            title: "警告标题",
            message: "警告消息内容!"
        });
    });
});